<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: src/Algorithm/IpBacktrackingLSAcceptor.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  extensions: ["tex2jax.js"],
  jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.15</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('IpBacktrackingLSAcceptor_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">IpBacktrackingLSAcceptor.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="IpBacktrackingLSAcceptor_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// Copyright (C) 2004, 2007 International Business Machines and others.</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">//           Andreas Waechter                 IBM    2005-10-13</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">//               derived file from IpFilterLineSearch.hpp</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#ifndef __IPBACKTRACKINGLSACCEPTOR_HPP__</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#define __IPBACKTRACKINGLSACCEPTOR_HPP__</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &quot;<a class="code" href="IpAlgStrategy_8hpp.html">IpAlgStrategy.hpp</a>&quot;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>{</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="foldopen" id="foldopen00018" data-start="{" data-end="};">
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html">   18</a></span><span class="keyword">class </span><a class="code hl_class" href="classIpopt_1_1BacktrackingLSAcceptor.html">BacktrackingLSAcceptor</a>: <span class="keyword">public</span> <a class="code hl_class" href="classIpopt_1_1AlgorithmStrategyObject.html">AlgorithmStrategyObject</a></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>{</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="foldopen" id="foldopen00024" data-start="{" data-end="}">
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a1f994f2745823cafaab1768cda61daa8">   24</a></span>   <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a1f994f2745823cafaab1768cda61daa8">BacktrackingLSAcceptor</a>()</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>   { }</div>
</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="foldopen" id="foldopen00028" data-start="{" data-end="}">
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9e6c1689d163b76312ceb960e5b4b683">   28</a></span>   <span class="keyword">virtual</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9e6c1689d163b76312ceb960e5b4b683">~BacktrackingLSAcceptor</a>()</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>   { }</div>
</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a8751601ac6d73a8afe8253db6300fc7d">   32</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a8751601ac6d73a8afe8253db6300fc7d">InitializeImpl</a>(</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp; options,</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>   ) = 0;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9186dcaa4d969aaeb9579dc47de70acc">   44</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9186dcaa4d969aaeb9579dc47de70acc">Reset</a>() = 0;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a15b3fdfefa3e786ab402ee61529c7394">   51</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a15b3fdfefa3e786ab402ee61529c7394">InitThisLineSearch</a>(</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>      <span class="keywordtype">bool</span> in_watchdog</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>   ) = 0;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a5603b40a9019ffdb35baa5bf2f010241">   61</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a5603b40a9019ffdb35baa5bf2f010241">PrepareRestoPhaseStart</a>() = 0;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#aaeb4b5f14bfccbe968e639dcf3413e9d">   69</a></span>   <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#aaeb4b5f14bfccbe968e639dcf3413e9d">CalculateAlphaMin</a>() = 0;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#adb0798948461216ee824c4c540173e0b">   79</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#adb0798948461216ee824c4c540173e0b">CheckAcceptabilityOfTrialPoint</a>(</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> alpha_primal</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>   ) = 0;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a17e90cd86d7362ef1071e3aebcb591cc">   96</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a17e90cd86d7362ef1071e3aebcb591cc">TrySecondOrderCorrection</a>(</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>                    alpha_primal_test,</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&amp;                   alpha_primal,</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IteratesVector&gt;</a>&amp; actual_delta</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>   ) = 0;</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a7a6282a18e0f45d223e5cf5749e975fd">  109</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a7a6282a18e0f45d223e5cf5749e975fd">TryCorrector</a>(</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>                    alpha_primal_test,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>&amp;                   alpha_primal,</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IteratesVector&gt;</a>&amp; actual_delta</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>   ) = 0;</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a51c4588ba9440362916593fb5e8e53da">  124</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">char</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a51c4588ba9440362916593fb5e8e53da">UpdateForNextIteration</a>(</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> alpha_primal_test</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>   ) = 0;</div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9d2e9d559178449ba70d29925232f423">  129</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a9d2e9d559178449ba70d29925232f423">StartWatchDog</a>() = 0;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#ad6ceee1bfdaf1cd9b7165b47c825e909">  132</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#ad6ceee1bfdaf1cd9b7165b47c825e909">StopWatchDog</a>() = 0;</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="foldopen" id="foldopen00137" data-start="{" data-end="}">
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a23f8a7e07b7ab0e0d91a40d846b59472">  137</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a23f8a7e07b7ab0e0d91a40d846b59472">RestoredIterate</a>()</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>   {</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>   }</div>
</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="foldopen" id="foldopen00145" data-start="{" data-end="}">
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#af92ac60229d6178a26ad262b3f52047b">  145</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#af92ac60229d6178a26ad262b3f52047b">NeverRestorationPhase</a>()</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>   {</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>   }</div>
</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span> </div>
<div class="foldopen" id="foldopen00157" data-start="{" data-end="}">
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#ad751c34d9e63bb76a074d38c78bc0faf">  157</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#ad751c34d9e63bb76a074d38c78bc0faf">DoFallback</a>()</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>   {</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>   }</div>
</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span> </div>
<div class="foldopen" id="foldopen00167" data-start="{" data-end="}">
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a21e6de5f883965c4c35a4b8754a54f62">  167</a></span>   <span class="keyword">virtual</span> <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a21e6de5f883965c4c35a4b8754a54f62">ComputeAlphaForY</a>(</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>                    <span class="comment">/*alpha_primal*/</span>,</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>      <a class="code hl_typedef" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>                    <span class="comment">/*alpha_dual*/</span>,</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IteratesVector&gt;</a>&amp; <span class="comment">/*delta*/</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>   )</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>   {</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>      <a class="code hl_define" href="IpException_8hpp.html#acd72e9234b79904aa8ee38708a115172">THROW_EXCEPTION</a>(OPTION_INVALID, <span class="stringliteral">&quot;Value \&quot;acceptor\&quot; for option \&quot;alpha_for_y\&quot; not valid for this line search.&quot;</span>);</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>      <span class="keywordflow">return</span> -1.;</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>   }</div>
</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span> </div>
<div class="foldopen" id="foldopen00180" data-start="{" data-end="}">
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a84cfa720e3025a61143109f912f6b30a">  180</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a84cfa720e3025a61143109f912f6b30a">HasComputeAlphaForY</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span><span class="keyword">   </span>{</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>      <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>   }</div>
</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a948e091f9b593bfd4b057053f3c7077e">  187</a></span>   <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a948e091f9b593bfd4b057053f3c7077e">RegisterOptions</a>(</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>      <a class="code hl_class" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;RegisteredOptions&gt;</a> roptions</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>   );</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#a899927b1ad17ae3444ecae064b409fb9">  204</a></span>   <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#a899927b1ad17ae3444ecae064b409fb9">BacktrackingLSAcceptor</a>(</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1BacktrackingLSAcceptor.html">BacktrackingLSAcceptor</a>&amp;</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span>   );</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span> </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="classIpopt_1_1BacktrackingLSAcceptor.html#ab60f5284a0974b9d7d8e42f2bc595e73">  209</a></span>   <span class="keywordtype">void</span> <a class="code hl_function" href="classIpopt_1_1BacktrackingLSAcceptor.html#ab60f5284a0974b9d7d8e42f2bc595e73">operator=</a>(</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>      <span class="keyword">const</span> <a class="code hl_class" href="classIpopt_1_1BacktrackingLSAcceptor.html">BacktrackingLSAcceptor</a>&amp;</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>   );</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>};</div>
</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span> </div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>} <span class="comment">// namespace Ipopt</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span> </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aIpAlgStrategy_8hpp_html"><div class="ttname"><a href="IpAlgStrategy_8hpp.html">IpAlgStrategy.hpp</a></div></div>
<div class="ttc" id="aIpException_8hpp_html_acd72e9234b79904aa8ee38708a115172"><div class="ttname"><a href="IpException_8hpp.html#acd72e9234b79904aa8ee38708a115172">THROW_EXCEPTION</a></div><div class="ttdeci">#define THROW_EXCEPTION(__except_type, __msg)</div><div class="ttdef"><b>Definition</b> <a href="IpException_8hpp_source.html#l00132">IpException.hpp:132</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html">Ipopt::AlgorithmStrategyObject</a></div><div class="ttdoc">This is the base class for all algorithm strategy objects.</div><div class="ttdef"><b>Definition</b> <a href="IpAlgStrategy_8hpp_source.html#l00034">IpAlgStrategy.hpp:35</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html">Ipopt::BacktrackingLSAcceptor</a></div><div class="ttdoc">Base class for backtracking line search acceptors.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00018">IpBacktrackingLSAcceptor.hpp:19</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a15b3fdfefa3e786ab402ee61529c7394"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a15b3fdfefa3e786ab402ee61529c7394">Ipopt::BacktrackingLSAcceptor::InitThisLineSearch</a></div><div class="ttdeci">virtual void InitThisLineSearch(bool in_watchdog)=0</div><div class="ttdoc">Initialization for the next line search.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a17e90cd86d7362ef1071e3aebcb591cc"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a17e90cd86d7362ef1071e3aebcb591cc">Ipopt::BacktrackingLSAcceptor::TrySecondOrderCorrection</a></div><div class="ttdeci">virtual bool TrySecondOrderCorrection(Number alpha_primal_test, Number &amp;alpha_primal, SmartPtr&lt; IteratesVector &gt; &amp;actual_delta)=0</div><div class="ttdoc">Try a second order correction for the constraints.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a1f994f2745823cafaab1768cda61daa8"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a1f994f2745823cafaab1768cda61daa8">Ipopt::BacktrackingLSAcceptor::BacktrackingLSAcceptor</a></div><div class="ttdeci">BacktrackingLSAcceptor()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00024">IpBacktrackingLSAcceptor.hpp:24</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a21e6de5f883965c4c35a4b8754a54f62"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a21e6de5f883965c4c35a4b8754a54f62">Ipopt::BacktrackingLSAcceptor::ComputeAlphaForY</a></div><div class="ttdeci">virtual Number ComputeAlphaForY(Number, Number, SmartPtr&lt; IteratesVector &gt; &amp;)</div><div class="ttdoc">Method for computing the step for the constraint multipliers in the line search acceptor method.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00167">IpBacktrackingLSAcceptor.hpp:167</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a23f8a7e07b7ab0e0d91a40d846b59472"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a23f8a7e07b7ab0e0d91a40d846b59472">Ipopt::BacktrackingLSAcceptor::RestoredIterate</a></div><div class="ttdeci">virtual bool RestoredIterate()</div><div class="ttdoc">Method for telling the BacktrackingLineSearch object that a previous iterate has been restored.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00137">IpBacktrackingLSAcceptor.hpp:137</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a51c4588ba9440362916593fb5e8e53da"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a51c4588ba9440362916593fb5e8e53da">Ipopt::BacktrackingLSAcceptor::UpdateForNextIteration</a></div><div class="ttdeci">virtual char UpdateForNextIteration(Number alpha_primal_test)=0</div><div class="ttdoc">Method for ending the current line search.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a5603b40a9019ffdb35baa5bf2f010241"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a5603b40a9019ffdb35baa5bf2f010241">Ipopt::BacktrackingLSAcceptor::PrepareRestoPhaseStart</a></div><div class="ttdeci">virtual void PrepareRestoPhaseStart()=0</div><div class="ttdoc">Method that is called before the restoration phase is called.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a7a6282a18e0f45d223e5cf5749e975fd"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a7a6282a18e0f45d223e5cf5749e975fd">Ipopt::BacktrackingLSAcceptor::TryCorrector</a></div><div class="ttdeci">virtual bool TryCorrector(Number alpha_primal_test, Number &amp;alpha_primal, SmartPtr&lt; IteratesVector &gt; &amp;actual_delta)=0</div><div class="ttdoc">Try higher order corrector (for fast local convergence).</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a84cfa720e3025a61143109f912f6b30a"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a84cfa720e3025a61143109f912f6b30a">Ipopt::BacktrackingLSAcceptor::HasComputeAlphaForY</a></div><div class="ttdeci">virtual bool HasComputeAlphaForY() const</div><div class="ttdoc">Method returning true of ComputeAlphaForY is implemented for this acceptor.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00180">IpBacktrackingLSAcceptor.hpp:180</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a8751601ac6d73a8afe8253db6300fc7d"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a8751601ac6d73a8afe8253db6300fc7d">Ipopt::BacktrackingLSAcceptor::InitializeImpl</a></div><div class="ttdeci">virtual bool InitializeImpl(const OptionsList &amp;options, const std::string &amp;prefix)=0</div><div class="ttdoc">Implementation of the initialization method that has to be overloaded by for each derived class.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a899927b1ad17ae3444ecae064b409fb9"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a899927b1ad17ae3444ecae064b409fb9">Ipopt::BacktrackingLSAcceptor::BacktrackingLSAcceptor</a></div><div class="ttdeci">BacktrackingLSAcceptor(const BacktrackingLSAcceptor &amp;)</div><div class="ttdoc">Copy Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a9186dcaa4d969aaeb9579dc47de70acc"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a9186dcaa4d969aaeb9579dc47de70acc">Ipopt::BacktrackingLSAcceptor::Reset</a></div><div class="ttdeci">virtual void Reset()=0</div><div class="ttdoc">Reset the acceptor.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a948e091f9b593bfd4b057053f3c7077e"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a948e091f9b593bfd4b057053f3c7077e">Ipopt::BacktrackingLSAcceptor::RegisterOptions</a></div><div class="ttdeci">static void RegisterOptions(SmartPtr&lt; RegisteredOptions &gt; roptions)</div><div class="ttdoc">Methods for OptionsList.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a9d2e9d559178449ba70d29925232f423"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a9d2e9d559178449ba70d29925232f423">Ipopt::BacktrackingLSAcceptor::StartWatchDog</a></div><div class="ttdeci">virtual void StartWatchDog()=0</div><div class="ttdoc">Method for setting internal data if the watchdog procedure is started.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_a9e6c1689d163b76312ceb960e5b4b683"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#a9e6c1689d163b76312ceb960e5b4b683">Ipopt::BacktrackingLSAcceptor::~BacktrackingLSAcceptor</a></div><div class="ttdeci">virtual ~BacktrackingLSAcceptor()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00028">IpBacktrackingLSAcceptor.hpp:28</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_aaeb4b5f14bfccbe968e639dcf3413e9d"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#aaeb4b5f14bfccbe968e639dcf3413e9d">Ipopt::BacktrackingLSAcceptor::CalculateAlphaMin</a></div><div class="ttdeci">virtual Number CalculateAlphaMin()=0</div><div class="ttdoc">Method returning the lower bound on the trial step sizes.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_ab60f5284a0974b9d7d8e42f2bc595e73"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#ab60f5284a0974b9d7d8e42f2bc595e73">Ipopt::BacktrackingLSAcceptor::operator=</a></div><div class="ttdeci">void operator=(const BacktrackingLSAcceptor &amp;)</div><div class="ttdoc">Default Assignment Operator.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_ad6ceee1bfdaf1cd9b7165b47c825e909"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#ad6ceee1bfdaf1cd9b7165b47c825e909">Ipopt::BacktrackingLSAcceptor::StopWatchDog</a></div><div class="ttdeci">virtual void StopWatchDog()=0</div><div class="ttdoc">Method for setting internal data if the watchdog procedure is stopped.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_ad751c34d9e63bb76a074d38c78bc0faf"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#ad751c34d9e63bb76a074d38c78bc0faf">Ipopt::BacktrackingLSAcceptor::DoFallback</a></div><div class="ttdeci">virtual bool DoFallback()</div><div class="ttdoc">Method for doing a fallback approach in case no search direction could be computed.</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00157">IpBacktrackingLSAcceptor.hpp:157</a></div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_adb0798948461216ee824c4c540173e0b"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#adb0798948461216ee824c4c540173e0b">Ipopt::BacktrackingLSAcceptor::CheckAcceptabilityOfTrialPoint</a></div><div class="ttdeci">virtual bool CheckAcceptabilityOfTrialPoint(Number alpha_primal)=0</div><div class="ttdoc">Method for checking if current trial point is acceptable.</div></div>
<div class="ttc" id="aclassIpopt_1_1BacktrackingLSAcceptor_html_af92ac60229d6178a26ad262b3f52047b"><div class="ttname"><a href="classIpopt_1_1BacktrackingLSAcceptor.html#af92ac60229d6178a26ad262b3f52047b">Ipopt::BacktrackingLSAcceptor::NeverRestorationPhase</a></div><div class="ttdeci">virtual bool NeverRestorationPhase()</div><div class="ttdoc">Method called by BacktrackingLineSearch object to determine whether the restoration phase should neve...</div><div class="ttdef"><b>Definition</b> <a href="IpBacktrackingLSAcceptor_8hpp_source.html#l00145">IpBacktrackingLSAcceptor.hpp:145</a></div></div>
<div class="ttc" id="aclassIpopt_1_1OptionsList_html"><div class="ttname"><a href="classIpopt_1_1OptionsList.html">Ipopt::OptionsList</a></div><div class="ttdoc">This class stores a list of user set options.</div><div class="ttdef"><b>Definition</b> <a href="IpOptionsList_8hpp_source.html#l00032">IpOptionsList.hpp:33</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SmartPtr_html"><div class="ttname"><a href="classIpopt_1_1SmartPtr.html">Ipopt::SmartPtr</a></div><div class="ttdoc">Template class for Smart Pointers.</div><div class="ttdef"><b>Definition</b> <a href="IpSmartPtr_8hpp_source.html#l00164">IpSmartPtr.hpp:165</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_ab75ce5f2ad60aa86e4dff723998e653f"><div class="ttname"><a href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Ipopt::Number</a></div><div class="ttdeci">ipnumber Number</div><div class="ttdoc">Type of all numbers.</div><div class="ttdef"><b>Definition</b> <a href="IpTypes_8hpp_source.html#l00017">IpTypes.hpp:17</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</body>
</html>
